package com.yykj.hospital.client.dto.banci;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.enums.BanCiType;
import com.yykj.common.util.serializer.LocalTime2StringSerializer;
import lombok.Data;

import java.time.LocalTime;

@Data
public class HospitalBanCiDTO {

    private Integer id;

    private Integer hospitalId;

    private String name;

    private String code;

    private Boolean status;

    private BanCiType type;

    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime startTime;

    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime endTime;

    private String py;

    private String wb;

    private Boolean segment;

    private Integer duration;
}
